package com.huanri.patterns.visitor;

/**
 * @author Nemo
 * @date 2012-8-21 at MyCode
 */
public class StringElement implements Visitable {

	String str = "";
	
	public StringElement(String str){
		this.str = str;
	}
	
	
	public String getStr() {
		return str;
	}


	public void setStr(String str) {
		this.str = str;
	}


	public void accept(Visitor visitor) {
		visitor.visitString(this);
	}

}
